/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for MenuAdminsBL
/// </summary>
namespace VINETLIFE.BL 
{
    public class MenuAdminsBL 
    {
    	#region Private Variables
		MenuAdminsDAL objMenuAdminsDAL;
		#endregion
		
        #region Public Constructors
        public MenuAdminsBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objMenuAdminsDAL=new MenuAdminsDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(MenuAdminsDO objMenuAdminsDO)
        {
            return objMenuAdminsDAL.Insert(objMenuAdminsDO);
        }

        public int Update(MenuAdminsDO objMenuAdminsDO)
        {
             return objMenuAdminsDAL.Update(objMenuAdminsDO);

        }

        public int Delete(MenuAdminsDO objMenuAdminsDO)
        {
             return objMenuAdminsDAL.Delete(objMenuAdminsDO);

        }

         public int DeleteAll()
        {
             return objMenuAdminsDAL.DeleteAll();
        }

        public MenuAdminsDO Select(MenuAdminsDO objMenuAdminsDO)
        {
            return objMenuAdminsDAL.Select(objMenuAdminsDO);
        }

        public ArrayList SelectAll1( )
        {
         return objMenuAdminsDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objMenuAdminsDAL.SelectAll();
        }
        public DataTable SelectGetByTop(string Top, string Where, string Order)
        {
            return objMenuAdminsDAL.SelectGetByTop(Top, Where, Order);
        }

        public DataTable SelectMaxId(string Where)
        {
            return objMenuAdminsDAL.SelectMaxId(Where);
        }
#endregion          
    
    }

}
